#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Mon May 11 19:06:05 2020

@author: yu
"""


import pandas as pd

import matplotlib.pyplot as plt


#names=["PyPy3"],names=["Python"]
t6dsa=pd.read_csv("dsaT6.csv")
#t6random=t6random.rename(index = {"6 cars": "PyPy3"},inplace = True) 
t6emppy=pd.read_csv("astarT6pyemp.csv")
#t6randompython=t6randompython.rename(index = {"6 cars": "Python"}, inplace = True)

#df3=pd.DataFrame(df2,)
frames = [t6emppy,t6dsa]
result = pd.concat(frames,axis=1, sort=False)
result.to_csv("dsanotgood.csv")
result.plot()
plt.legend(labels=["DSA*","A*"])
plt.ylabel("Time Consuming(s)")
plt.xlabel("Number of Random Seed")
plt.show()